﻿using QQZiFramework;
using QQZiFramework.Membership;
using System;
using System.Collections.Generic;

using System.Text;

namespace QQZiFramework
{
    /// <summary>
    /// 桌面应用管理类，用户状态等
    /// </summary>
    public class ApplicationManager
    {
        public static BaseUser LoginUser;
        public static void RecordLogin(BaseUser userInfo, DBContext context)
        {
            LoginUser = userInfo;
        }

        public static void SetUserLoginState(BaseUser userInfo){
            LoginUser = userInfo;
        }
    }
}
